import time
from django.http import HttpResponse
from django.shortcuts import render


def server_view(request):
    username = request.GET.get("username")
    return HttpResponse(f"成功,欢迎{username}")


def client_view(request):
    return render(request, 'ajax.html')


def jq_view(request):
    return render(request, 'jq_ajax.html')
